import axios from './axios'
const user = (data) => {
    return axios.request({
        url: 'mall/pms-product-attribute-category/edit',
        method: 'post',
        data
    })
}
const add = (data) => {
    return axios.request({
        url: 'mall/pms-product-attribute-category/add',
        method: 'post',
        data
    })
}
const users = (data) => {
    return axios.request({
        url: 'mall/pms-product-attribute-category/page',
        method: 'post',
        data
    })
}
const edit = (data) => {
    return axios.request({
        url: '/mall/pms-product-attribute-category/edit',
        method: 'post',
        data
    })
}
const del = (params) => {
    return axios.request({
        url: '/mall/pms-product-attribute-category/del',
        params
    })
}
const page = (data) => {
    return instance.request({
        url: '/mall/pms-product-attribute-category/page',
        method: 'post',
        data
    })
}

export {
    user, add, users, edit,del,page
}